package com.edu.app;

import com.edu.app.util.SpringUtil;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableScheduling
@SpringBootApplication
@EnableTransactionManagement
public class CrmApplication {

	public static void main(String[] args) {
		//SpringApplication.run(CrmApplication.class, args);

		ApplicationContext app = SpringApplication.run(CrmApplication.class, args);
		SpringUtil.setApplicationContext(app);
	}
}
